<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Author" content="李艺江">
<title>管理员</title>
</head>
<script>
	var t = null;
	t = setTimeout(time, 1000);//开始执行
	function time() {
		clearTimeout(t);//清除定时器
		dt = new Date();
		var y = dt.getYear() + 1900;
		var mm = dt.getMonth() + 1;
		var d = dt.getDate();
		var weekday = [ "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六" ];
		var day = dt.getDay();
		var h = dt.getHours();
		var m = dt.getMinutes();
		var s = dt.getSeconds();
		if (h < 10) {
			h = "0" + h;
		}
		if (m < 10) {
			m = "0" + m;
		}
		if (s < 10) {
			s = "0" + s;
		}
		document.getElementById("timeShow").innerHTML = "当前时间：" + y + "-" + mm
				+ "-" + d + " " + h + ":" + m + ":" + s + " " + weekday[day]
				+ "";
		t = setTimeout(time, 1000);
	}
</script>
<style>
html, body {
	width: 100%;
	height: 100%;
	margin: 0;
}

.container {
	position: relative;
	width: 100%;
	height: 100%;
}

.header {
	position: relative;
	width: 100%;
	height: 15%;
	background-color: #66CC00;
}

.divide {
    width:100%;
	height: 1%;
	background-color: #DDDDDD;
}

.content {
	position: relative;
	width: 100%;
	height: 68%;
}

.content-left {
	width: 15%;
	height: 600px;
	float: left;
	background-color: #66CC00;
}

.content-right {
	width: 85%;
	height: 600px;
	float: left;
	background:
		url(${pageContext.request.contextPath }/pages/image/background.jpg);
}

.title {
	text-align: center;
}

.title font {
	font-size: 40px;
}

.user {
	text-align: right;
}

.user font {
	font-size: 20px;
}

.content-left div {
	width: 90%;
	background-color: #FFFFFF;
}

.content-left div li {
	height: 25px;
	background-color: #FFFFFF;
}

.showtime {
	width: 100%;
	height: 50px;
	text-align: right;
	font-size: 20px;
}

.welcome {
	text-align: center;
}

.font-normal {
	font-size: 30px;
}

.font-adname {
	font-size: 30px;
	color: red
}
</style>
<body>
	<div class=container>
		<div class="header">
			<div class="title">
				<br /> <font>问卷调研管理系统</font>
			</div>
			<div class="user">
				<font>欢迎您:${sessionScope.admin.name }&nbsp;&nbsp;</font>
			</div>
		</div>
		<div class="divide">
		
		</div>
		<div class="content">
			<div class="content-left">
				<ul>
					<li>调查课题管理
						<div>
							<ul>
								<li><a href="admin_allQuestionnaires.action?x=x">调查课题管理</a></li>
								<li><a href="admin_send.action?page=aq">添加新课题</a></li>
							</ul>
						</div>
					</li>
					<li>留言信息管理
						<div>
							<ul>
								<li><a href="admin_allMessages.action?x=x">留言信息管理</a></li>
							</ul>
						</div>
					</li>
					<li>注册用户管理
						<div>
							<ul>
								<li><a href="admin_allUsers.action?x=x">注册用户管理</a></li>
							</ul>
						</div>
					</li>
					<li>调查记录查询
						<div>
							<ul>
								<li><a href="admin_allQuestionnaires.action?x=x">调查记录查询</a></li>
							</ul>
						</div>
					</li>
					<li>修改个人密码
						<div>
							<ul>
								<li><a href="admin_send.action?page=cp">修改个人密码</a></li>
							</ul>
						</div>
					</li>
					<li>退出登录
						<div>
							<ul>
								<li><a href="login_logout.action?x=x">退出登录</a></li>
							</ul>
						</div>
					</li>
				</ul>
			</div>
			<div class="content-right">
				<div id="timeShow" class="showtime"></div>
				<div class="welcome">
					<br />
					<br />
					<br />
					<br />
					<br /> <font class="font-normal">欢迎</font><font class="font-adname">admin</font><font
						class="font-normal">使用本系统，请选择左边的菜单栏进行操作</font>
				</div>
			</div>
		</div>
	</div>
</body>
</html>